package xin.yangshuai.forest01.hello;

import com.dtflys.forest.Forest;

/**
 * Hello
 *
 * @author shuai
 * @date 2024/7/17
 */
public class Hello {

    public static void main(String[] args) {
        // Get请求
        // 并以 String 类型接受数据
        String str = Forest.get("http://localhost:28080/basic01/info").executeAsString();
        System.out.println(str);
    }
}
